/*! xhr v2.5.0 */ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).xhr=t()}(this,function(){"use strict";var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t="undefined"!=typeof window?window:void 0!==e?e:"undefined"!=typeof self?self:{},n=t,r=function(e){if(!e)return!1;var t=o.call(e);return"[object Function]"===t||"function"==typeof e&&"[object RegExp]"!==t||"undefined"!=typeof window&&(e===window.setTimeout||e===window.alert||e===window.confirm||e===window.prompt)},o=Object.prototype.toString;function d(e){return e.replace(/^\s+|\s+$/g,"")}var m=function(e){if(!e)return{};for(var t,n={},o=d(e).split("\n"),r=0;r